﻿<html>
    <head>
        <title>{{title}}</title>
        <meta name="Big John" content="August 24, 2002">
        <meta http-equiv="content-Type" content="text/html; charset=utf-8">
        <meta name="mssmarttagspreventparsing" content="true">
        <meta name="keywords" content="demo,test,big john,big,john,positioniseverything,css,html,what else do you want from me!?">
        <meta name="description" content="A demo of 3 fluid, full height columns, including header and footer, all with different BGs. ">
        <meta name="distribution" content="global">
        <meta name="resource-type" content="document">
        <meta name="robots" content="all">
        <meta http-equiv="imagetoolbar" content="no">
        <meta http-equiv="pragma" content="no-cache">
		<LINK rel=stylesheet type=text/css href="godtime.css">
        <style type="text/css">
        <!--
			#middlebox {
			padding-top:10px;
            margin: 0 300px 0 0px;
         }
        
        div#rightbox { /*** No side padding or borders, to avoid the IE5.x box model problem ***/
            position: absolute;
            right: 0;
            width: 300px;
            padding-top: 15px;
			margin-right:20px;
        }
        -->
        </style>
    </head>
    <body>
    	<div class="gtBlog">
	        <div class="gtBlogTitle">
	            {{ blogTitle}}
	        </div>
	        <div id="rightbox">
	        	<div class="gtBlogSidebar">
	            {% for sidebar in configQuery %}
	            <div>
	                {{ sidebar }}
	            </div>
	            {% endfor %}<!-- end #sidebar1 -->
				</div>
	        </div>
	        <div id="middlebox">
	        	<div id="mainContent">
                <div class="gtArtical">
                    <div class="gtArticalTitle">
                        {{title}}
                    </div>
                    <div class="gtArticalContent">
                        {{content}}
                    </div>
                    <div class="gtArticalFooter">
                        time:{{date_time}} tags:{{tags}}
                    </div>
                </div>
                <div class="gtArticalWrite">
                    <div class="gtArticalTitle">
                        新留言:
                    </div>
                    <form action="/gtBlog?aid={{aid}}" method="post">
                        <div>
                            署名：<input maxlength="30"name="username"/>
                            <br/>
                            留言：<textarea name="content" rows="5" cols="50"></textarea>
                        </div>
                        
                            <input type="submit" value="Submit">
                        
                    </form>
					<div class="gtArticalFooter">
						注意：评论最多512字节 请文明留言
					</div>
                </div>
                <br/>
                <div class="gtArticalComment">
                    <div class="gtArticalTitle">
                        留言:
                    </div>
                    {% for comment in commentList %}
                    <div class="gtCommentContent">
                        <xmp>{{ comment.date_time|date:"Y-m-d H:i:s" }} {{ comment.username }}
{{comment.content}}</xmp>
                    </div>
                    {% endfor %} 
					<div class="gtArticalFooter">
						该文章留言数：{{commentCount}}
					</div>
                </div>
            </div>

	        </div>
			<div class="gtBlogFooter" align="center">
					Powered by <a href="http://appengine.google.com">Google App Engine</a>,Designed by <a href="mailto:godtime123@gmail.com">GodTime</a><br/>
                    Thanks for:<a href="http://pyjamas.sf.net">Pyjamas</a>,<a href="http://appengine.google.com">GAE-JSONRPC</a>
                    <br/>
					 V  0.1.20090101
             </div>
		</div>
    </body>
</html>
